﻿using System.Linq;

namespace ElevatorDispatching
{
    public class ElevatorGroup : GroupBase<Elevator>, IElevatorGroup
    {
        public Elevator this[int id] => Items.FirstOrDefault(x => x.Id == id);
    }
}
